<ul id="menu">
<li class="node"><a href="#" class=""><?php echo lang('home_page')?></a>
    <ul>
        <li><a href="<?php echo base_url()?>admincp"><?php echo lang('control_panel')?></a></li>
        <!--        <li><a href="<?php echo base_url()?>siteconfig"><?php echo lang('config')?></a></li>-->
        <!--<li><a href="<?php echo site_url('admin/changepass')?>"><?php echo lang('changepass')?></a></li>-->
        <?php if($this->acl->check('view','mod_access','lock_list')){ ?>
            <li><a href="<?php echo site_url('lock_list')?>"><?php echo lang('black_list_ip')?></a></li>
        <?php } ?>
        <li><a href="<?php echo base_url()?>login/logout"><?php echo lang('exit')?></a></li>
    </ul>
</li>
<li class="node"><a href="#" class="">Quản trị</a>
    <ul>
      
            <?php if($this->acl->check('view','mod_access','admin')){ ?>
                <li><a href="<?php echo base_url()?>mod_access/admin">Administrator</a></li>
            <?php } ?>
            <?php if($this->acl->check('view','mod_access','group')){ ?>
                <li><a href="<?php echo base_url()?>mod_access/group">Group</a></li>
            <?php } ?>
            <?php if($this->acl->check('view','mod_access','module')){ ?>
                <li><a href="<?php echo base_url()?>mod_access/module">Module</a></li>
            <?php } ?>
            <?php if($this->acl->check('view','mod_access','permission')){ ?>
                <li><a href="<?php echo base_url()?>mod_access/permission">Permission</a></li>
            <?php } ?>
          
                <li><a href="<?php echo site_url('admin/changepass')?>"><?php echo lang('changepass')?></a></li>
    </ul>
</li>
<li class="node"><a href="#" class="">Thành viên</a>
    <ul>
      <?php if($this->acl->check('view','mod_member','user')){ ?>
        <li>
            <a href="<?php echo base_url()?>user"><?php echo lang('list_member')?></a>
         
        </li>
        <?php } ?>
    </ul>
</li>
<li class="node">
    <a href="#">Đơn hàng</a>
    <ul>
     <?php if($this->acl->check('view','mod_orders','orders')){ ?>
        <li><a href="<?php echo site_url('orders/listorders')?>">Tất cả đơn hàng</a></li> 
        <li><a href="<?php echo site_url('orders/listorders/donhangmoi')?>">Đơn hàng mới</a></li> 
        <li><a href="<?php echo site_url('orders/listorders/dangvanchuyen')?>">Đang vận chuyển</a></li> 
        <li><a href="<?php echo site_url('orders/listorders/hoantat')?>">Đơn hàng đã hoàn tất</a></li> 
        <li><a href="<?php echo site_url('orders/listorders/huy')?>">Đơn hàng đã hủy</a></li> 
        <?php } ?>
        <?php if($this->acl->check('export','mod_orders','orders')){ ?>
        <li><a href="<?php echo site_url('orders/export')?>">Xuất đơn hàng</a></li> 
        <?php } ?>
    </ul>
</li>
<li class="node">
    <a href="#">Sản phẩm</a>
    <ul> 
			<?php if($this->acl->check('view','mod_products','products')){ ?>
            <li><a href="<?php echo site_url('product_category')?>">Danh mục sản phẩm</a></li> 
        	<li><a href="<?php echo site_url('products/listproducts')?>">Danh sách sản phẩm</a></li> 
            <li><a href="<?php echo site_url('products/listsale')?>">Danh sách sản phẩm khuyến mãi</a></li> 
			 <?php } ?>
             <li><a href="<?php echo site_url('color/index')?>">Màu sắc</a></li> 
            <li><a href="<?php echo site_url('size/index')?>">Kích cỡ</a></li> 
             <li><a href="<?php echo site_url('material/index')?>">Chất liệu</a></li> 
    </ul>
</li>



 <?php if($this->acl->check('view','mod_partners','partners')){ ?>
<li class="node">
    <a href="#">Thương hiệu</a>
    <ul>
        	<li><a href="<?php echo site_url('partners/listpartners')?>">Thương hiệu</a></li> 
        	 
    </ul>
</li>
<?php } ?>

<li class="node">
    <a href="<?php echo site_url('staticpage')?>">Trang tĩnh</a>
    <ul>
        	<li><a href="<?php echo site_url('staticpage/liststaticpage/1')?>">Danh sách trang tĩnh</a></li> 
            
    </ul>
</li>
<li class="node">
    <a href="<?php echo site_url('design/listdesign')?>">Design</a>
    <ul>
        	<li><a href="<?php echo site_url('design/listdesign')?>">Danh sách các Design</a></li> 
            
    </ul>
</li>

<li class="node">
    <a href="<?php echo site_url('city/listcity')?>">Banners</a>
    <ul>
        	<li><a href="<?php echo site_url('banners/listbanners')?>">Danh sách các Banners</a></li> 
            
    </ul>
</li>
<li class="node">
    <a href="<?php echo site_url('email/listemail')?>">Email đăng ký</a>
    <ul>
        	<li><a href="<?php echo site_url('email/listemail')?>">Danh sách email đăng ký nhận khuyến mãi</a></li> 
            
    </ul>
</li>

<!--<li class="node">
    <a href="<?php echo site_url('city/listcity')?>">Tỉnh thành</a>
    <ul>
		<?php if($this->acl->check('view','mod_city','city')){ ?>
        	<li><a href="<?php echo site_url('city/listcity')?>">Tỉnh thành</a></li> 
        <?php } ?>
        <?php if($this->acl->check('view','mod_district','district')){ ?>
        	<li><a href="<?php echo site_url('district/listdistrict')?>">Quận huyện</a></li>
        <?php } ?>
    </ul>
</li>
-->
<!--
<li class="node"><a href="#" class=""><?php echo lang('email')?></a>
    <ul>
    <?php if($this->acl->check('view','mod_access','email_tmp')){ ?>
        <li><a href="<?php echo site_url('email_tmp')?>"><?php echo lang('email_tmp')?></a></li>
   <?php } ?>
    
    </ul>
</li>
-->

<li class="node"><a href="#" class=""><?php echo lang('orther')?></a>
    <ul>
    <li><a href="<?php echo site_url('contact/')?>">Liên hệ</a></li>
        <li><a href="<?php echo site_url('support')?>"><?php echo lang('support')?></a></li>
        <li><a href="<?php echo site_url('lock_list')?>"><?php echo lang('lock_list')?></a></li>
    <?php if($this->acl->check('view','mod_other','contact')){ ?>
        <li><a href="<?php echo site_url('contact')?>"><?php echo lang('contact')?></a></li>
    <?php } ?>
        
    </ul>
</li>

</ul>
<div style="float: right;padding-top: 5px;"><?php echo date('H:i, d/m/Y',time() - $this->config->item('site_time'))?></div>
